feat: add openobserve backend#839
Conversation
juju4
commented
Mar 30, 2025
- https://openobserve.ai/docs/
- depends on ongoing work on unofficial API and pending merge https://github.com/juju4/python-openobserve/tree/devel-all, https://github.com/JustinGuese/python-openobserve/pulls/juju4
- tests need more review but added some in underlying module https://github.com/juju4/python-openobserve/tree/devel-all/tests
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
most lint stuff seems unrelated to PR. pytest part as said still WIP. |
|
pytest fixed but a new external error on tests/test_pkg_imports.py::test_conda_reqs |
@juju4 This test is just designed to keep the requirements/setup packages aligned so it's saying that there is something in requirements/setup that's not reflected in the /conda requirements files. |
|
seems conda package can't be a commit. hope to have a pypi release next week-end |
|
Current pylint errors not related to PR
done that for now. 3.8 fails with |
|
Only python 3.8 ci is failing and seems unrelated to PR |
use upstream python-openobserve
use upstream python-openobserve
|
@ianhelle How to get this PR move forward? lint failing on external conditions for installing dependencies |
|
Hey Julien, Add OpenObserve as an Extra in setup.py (follow the examples in here) Also add that to the requirements_all.txt and the conda files. You will also need to guard the import of open observe - I've added comments to that file with an example. |
|
still blocked on installing dependencies. |
|
I fixed the extra - it needs to have a python_version in the extra declaration as well as the requirements. |
|
I added some changes to the requirements/setup.py for python-openobserve. |
|
PR merged and 0.4.2 released. let's see how tests are doing |
|
lint 3.12 and build 3.11 failing for same reason. build 3.9 ok (not in scope/ignored) |
|
@juju4 |
|
Things are a little better but this is our fundamental problem: Will try a different candidate, due to conflict:
azure-kusto-data 5.0.0 depends on requests==2.32.0
azure-core 1.37.0 depends on requests>=2.21.0
msal 1.34.0 depends on requests<3 and >=2.0.0
folium 0.20.0 depends on requests
geoip2 5.2.0 depends on requests<3.0.0 and >=2.24.0
msrest 0.7.1 depends on requests~=2.16
adal 1.2.7 depends on requests<3 and >=2.0.0
panel 1.7.5 depends on requests
python-openobserve 0.4.2 depends on requests<2.33.0 and >=2.32.4I think it's the version conflict between the requests versions between azure-kusto-data (seems a bit crazy that they are locked to single version!!). and python-openobserve. Although the msrest requirement is also a long way away from the python-openobserve.
Is there a good reason for it being locked so tight? Usually you see very specific versions for apps but not so much for libraries that are meant to be installable/compatible with many versions. |
|
requests latest is 2.32.5/Aug 2025 and 2.32.4/Jun 2025 minimum is because of CVE-2024-47081. 2.32.0 goes back to May 2024. |
- azure-kusto-data>=4.4.0, <7.0.0 - azure-monitor-query>=1.0.0, <=3.0.0
|
Thanks a lot @ianhelle |